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

Query time 0.00035

JSON explain

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