SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '01f7865d0c05279f674b37661e218af918cb69225df0217dd1f7f033e5c00232' 
  AND token = 'Ijz63royIQUsxT8TwZtYcsuhcJShjUBbjJjmJRo6trE=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00025

JSON explain

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