SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'bd66a30be512f1e150018df21fdfbd3d1e1c9e0f6828e01cd5f587afe462772c' 
  AND token = 'X5gcz5A2ATf6+yui2hI91WC7ih0Zy6ZCufukzSNRD2I=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00025

JSON explain

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