SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '0a2e7079394c521209e15df2ad937632269909f749a2858c2a5d48a13e140974' 
  AND token = '59Jyzw/TIrVmBk6uPHX6G2bwjTbG9yEYyHaIa6/MeD4=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00042

JSON explain

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