SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '874f9f2e0a718a56efab010d2c51e48db6063c257e409ec502c30e13b4396af8' 
  AND token = 'N43vBsJrTl81Cmaaezv+5BrLf1jWwS5Yvxsr3QgnG1c=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00029

JSON explain

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