SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'aa39e9762357a705b89f7374f024880fe31ad9da308d84f70ec8cc393788d1b2' 
  AND token = 'Zo+dKd8V6ddMZ1C+4YPjN0btWALGNU+RpyIrLOSYJ7Y=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00031

JSON explain

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