SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '248fa589fb1bb08156bb978f318d47af503db41350d86301a48e9affca76641a' 
  AND token = 'qys6hXal+UlHwY9CcQXQ5yYfzouthVtjJ9bR8i8wXd0=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00024

JSON explain

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