SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '09ab9bb448cd5bdb274888ce6f99b87fd7c82067c17b26c6af051deeaaf31ea5' 
  AND token = 'QUAAAtdDLd3ODjnftFiyH+w9MhQx8+A6VsEGhJV6cHQ=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00051

JSON explain

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