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

Query time 0.00032

JSON explain

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