SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'a131f355ec0e949761f767d1f8257f73d9dea247ffe796714a3eb7892dbff1aa' 
  AND token = 'PTAPbQ332spj9VxTSWDug9EZ4tyq6Iy2WnG6sL3fsDs=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00034

JSON explain

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