SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'e6cfc0b3982496efc7b036262fa295f670542653911d4dfc68aa7d334ec19835' 
  AND token = '2AP01SkIccThAvGFaxvMrstWACY6GrENRn1iMw6eVO8=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00041

JSON explain

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