SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'b7b9bc9bd1bc0a72c2e47b993e2aa8095bb45c8890851a80dbd095491ae49351' 
  AND token = 'FGCc7Czp0ARrlvqo/TKcy6jmPTqzb8MJsxjxaWx4nX8=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00027

JSON explain

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