SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '5e407ef3462ab635f66a2a30748b8b7786af2d1a89e1418bc7f96744501b0427' 
  AND token = 'PvpAbvfTG78UJ6mCGxmJe6vfd7O6nurEb8oUD6TQ3HQ=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00029

JSON explain

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