SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '7a668a58a231ab9ddd29b346fb34cd1c1149fc69b62c939ce5f51a1bece598b9' 
  AND token = 'HtHZsSCTFtEWc26pTfqouLNdJzpAwvivzHjZbrA+k28=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00014

JSON explain

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