SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '7e3e8c8c2a84f6c748cc536848e88bca759cd6e75ece9eff8471d8bfe0fc18c1' 
  AND token = 'h9nDNJPare8qLk+qXEOT+lQNquaKKx9tyqiUqAVy3OI=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00032

JSON explain

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