SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '5a137e05e18f6f2329344520cfd7080986bcbc5deb95f28e283a13be5768243b' 
  AND token = 'TnrPhCg0AQQ/niiXoNMnEjpE/MMKlz5WuRur3LJDrbs=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00049

JSON explain

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