SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '5a3ebebdb9e70a83a76e8e95c16b109b85f5336b6abc13ec9483e9e7d71ee4ab' 
  AND token = 'cvAljEqAkmd3a3f/cNZIDPubZTogy2SmPRXxBFV+jjI=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00032

JSON explain

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