SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '8b627d36934e45905c5104d67d833ed74803b0243fa326f8e4f1b7bb79ec4173' 
  AND token = 'WjZd4FkXViak24guwXv25fVWgnMjClMzEaXP1Q3eyr4=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00028

JSON explain

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