SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'd935b2333c68300d78f56a753420437ba37f40a3a1049130a4b7b8e4916a7223' 
  AND token = 'ndWsq9WNz9Mmid2WFSTUwX4kE7pG+Qa/AZ+jyxPOJ0I=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00013

JSON explain

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