SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '887abc9d1329160a805688e7dfc2a077f3f17e8e9ad4acdbaf0d10fb38bacc7d' 
  AND token = 'gNUw5RYofjjzfixASkGLdPGEkc/74trgUlng7a1MUpU=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00029

JSON explain

{
  "query_block": {
    "select_id": 1,
    "message": "no matching row in const table"
  }
}