SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'ce47383ea6c3800ae2d379004f7cba9f7103cde352834ccb87d1d6d1abceadcf' 
  AND token = '/cAm4E/L4yp8ubbLo0mkot1kbeMUnnlcstBoGQ8egDA=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00014

JSON explain

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