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

Query time 0.00024

JSON explain

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