SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '577faa4f3af3d1bd019960fdb23899a514a6457e3095c1cfe69200a3b75facbb' 
  AND token = 'ZTepm59XtUFNDjsj8hQftrrcVlbM1zM860MI81d9/Js=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00016

JSON explain

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