SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'ab7f1c86ec08202f3626a7a6f241eacc11f73dd541959e26bbc23ad84c23b61d' 
  AND token = 'ktibsvZ+DPu+nFRQBd3xJBrMPCWLyMXS1mJ6Fq9NhvQ=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00051

JSON explain

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