SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '7ff27f8e5024dc121423a3e41e22f220f44b881f1ff22b746b87b33ed4783a5c' 
  AND token = 'qPbLd+pvwdcng6mA0Kxy7m7NMJjF5BvXuJjLO4CSEG4=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00016

JSON explain

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