SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'af782b45de05c8205515d840d2099babb393fc45a47abf18e4168da8071a240d' 
  AND token = 'fYw4faANFZZm5o0epToLfJTbpQcIqv8uVKtU2kk6+tY=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00030

JSON explain

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