SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '1cdce73f214a0ce9d3bbd66086a22f71288dd33650f74b54a9c2fa8043ab6df8' 
  AND token = 'aSSzg24bS6MuH/Dw7e8P6GKeo/grbF0TLuRw+w9rfkc=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00039

JSON explain

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